

import { ReactNode, useEffect, useRef, useState } from 'react';
import styles from './render3DGoods.module.less';

import { observer } from "mobx-react-lite";
import render3DGoodsRenderer from './render3DGoodsRenderer';


interface Iprops {
    children?: ReactNode
}

// 这个页面专门用来渲染3d商品模型
const Render3DGoods = observer((props: Iprops) => {


    return (
        <div className={styles.render3DGoods}>
            <div
                className={styles.contentContainer}
                ref={dom => render3DGoodsRenderer.setContainer(dom)}
            >
            </div>
        </div>
    );
});

export default Render3DGoods;
